<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<s:if test="pageBean != null">
	<s:iterator value="pageBean.list" status="stat">
	<tr>
		<td>
		<div id="remark_container_<s:property value="id"/>" class="remark">
			<div class="remark-title">
				<div class="left">
					<span class="mr10"><s:property value="#stat.index+1+start"/>#</span>
					<span><a class="emitUser" username="<s:property value="user.username"/>" href="javascript:void(0);"><s:property value="user"/></a>：<s:property value="title"/></span>
				</div>
				<div class="right">
					<span class="mr10">IP：<s:property value="ip"/></span>
					<span class="mr5">反馈时间：<s:date name="emitDate" format="yyyy-MM-dd HH:mm"/></span>
					<s:if test="acl.allowDel">
						<a class="mr5 remark-delete"
						href="javascript:void(0);" onclick="javascript:delFeedBack(<s:property value="id"/>);">删除</a>
					</s:if>
					<s:if test="acl.allowResponse">
						<a class="mr5 remark-response"
						href="javascript:void(0);" onclick="javascript:showResponse(<s:property value="id"/>, '<s:property value="user"/>', this);">回复</a>
					</s:if>
				</div>
				&nbsp;
			</div>
			<div class="remark-content">
				<s:property value="content" escape="false"/>
				<ul id="response_container_<s:property value="id"/>" class="response_container" 
					typeId="<s:property value="id"/>"></ul>
				<div id="response_area_<s:property value="id"/>" class="response_wrapper">
					
				</div>
			</div>
		</div>
		</td>
	</tr>
	</s:iterator>
<script type="text/javascript">
	window.responseType = <s:property value="responseType"/>;
	window["pr"].total(<s:property value="pageBean.totalRecords"/>);
	window["pr"].refresh();
</script>
</s:if>
